package com.schoolcloud.system.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 路由处理器
 *
 * @author hongmizfb
 * @date 2024/10/19
 */
@RestController
@RequestMapping("/system")
public class RootController {


    /**
     * 访问系统首页
     *
     * @return {@link String}
     */
    @RequestMapping({"/", "/index", "/index.html"})
    public String indexPage() {
        return "欢迎访问云校园系统，请通过前台系统访问！";
    }
}
